<?php 
	$id        = $_POST['id'];
?>


<html>
    <head>
        <title>Nuevo proyecto</title>
        <link rel='stylesheet' href='estilos.css'>
    </head>
    <body>
    <p>
		<label class="Titulo">Edit employees</label>
		</p>
        <form class='introducir' method='POST' action='editemployeesofproject.php'>
            <div><label>New manager:</label><select name="responsable" class='responsable' size=1>
			<?php
				include "conexion.php";
				$responsables = mysql_query("SELECT * FROM member"); 
				while($resp = mysql_fetch_array($responsables)) { 
					echo "<option value='".$resp['member_name']."'>".$resp['member_name']."</option>";
				}include "cerrar_conexion.php";
				?> 
			</select>
			</div>
			<div><label>New empolyees:</label><select name="miembros[]" class='miembros' id='miembros' size=5 multiple>
			<?php
				include "conexion.php";
				$responsables = mysql_query("SELECT * FROM member"); 
				while($resp = mysql_fetch_array($responsables)) { 
					echo "<option value='".$resp['member_name']."'>".$resp['member_name']."</option>";
				}include "cerrar_conexion.php";
				?> 
			</select>
			</div>
			
			<input type="hidden" name="id" value='<?php echo $id;?>'>
            <div><input type='submit' value='Submit' class='boton'></div>
        </form>
    </body>
</html>